package fei.yuzhi.com.loveflowers.base;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import butterknife.ButterKnife;
import cn.bmob.v3.Bmob;

/**
 * Created by zhonghang on 2016/10/4.
 */

public abstract  class BaseActivity extends AppCompatActivity {


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutId());
        ButterKnife.bind(this);
        Bmob.initialize(this, "7c6d1a4bf3aafd9f814667d6ad3cf6bb");
    }

    public abstract  int getLayoutId();
}
